<?php
	include "koneksi.php";
	
	$query = mysql_query('select * from status');
	
	while ($row = mysql_fetch_assoc($query)){
		$data[] = $row;
	}
	
	$json = json_encode($data);
	print($json);
	mysql_free_result($query);
?>